package com.xcode.xandrdb.Factory;

public class SessionConfig
{
	public String DB_Name = null;//数据库名字
	public boolean openCatch = true;//是否打开数据缓存

	public SessionConfig()
	{
	}

	public SessionConfig(String dbname)
	{
		this.DB_Name = dbname;
	}

	public String getDB_Name()
	{
		return DB_Name;
	}

	public boolean isOpenCatch()
	{
		return openCatch;
	}

	public SessionConfig setDBName(String dbName)
	{
		this.DB_Name = dbName;
		return this;
	}

	public SessionConfig openCatch(boolean open)
	{
		this.openCatch = open;
		return this;
	}

}
